package com.mryan.ps_auth;

import com.mryan.ps_common.annotation.EnablePSAuthExceptionHandler;
import com.mryan.ps_common.annotation.EnablePSLettuceRedis;
import com.mryan.ps_common.annotation.EnablePSServerProtect;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
@EnablePSAuthExceptionHandler
@EnablePSServerProtect
@MapperScan("com.mryan.ps_auth.mapper")
@EnablePSLettuceRedis
public class PsAuthApplication {

	public static void main(String[] args) {
		SpringApplication.run(PsAuthApplication.class, args);
	}

}
